import Vue from 'vue';
import Vuex from 'vuex';
import page1 from './page1';
Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    // 面包屑导航
    brames: []
  },
  mutations: {
    // 设置当前项目的id
    setBrames (state, val) {
      state.brames = val;
    }
  },
  mapActions: {
  },
  modules: {
    page1,
  }
});